C Language and Programming of Computers by Michel Desaintfuscien

C Language and Programming of Computers by Michel Desaintfuscien

Author:Michel Desaintfuscien [Desaintfuscien, Michel]
Language: eng
Format: mobi
Tags: Computing, Internet
Published: 2011-11-08T16:00:00+00:00


const double pi = 3.14159;

It is impossible to modify the value of pi during the program. If an attempt is done to modifies it (with an assignment for example), there is a compilation error.

2.2.2.3.2. Application to pointers

According to its position in the declaration, this keyword allows to prohibit any subsequent modification:

of pointer itself, ie the address it contains,

of the variable pointed by this pointer. If one can access this variable by another way, then it may be modified through this other access.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.